﻿using System;
using System.Collections.Generic;
using System.Text;


namespace CashShop.Bussiness
{/// <summary>
 /// 打折策略选择
 /// </summary>
    public class CashStrategy
    {
            private CashSuper _cs;
     
            public void setBehavior(CashSuper cs)
            {
                this._cs = cs;
            }
        //计算最终价格
        public decimal GetResult(decimal money)
        {
            return _cs.AcceptCash(money);
        }
    }
   
}
